﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IDAL {
    public interface IUser {
        /// <summary>
        /// 接口：用户登录
        /// </summary>
        /// <param name="userName"></param>
        /// <param name="userPassword"></param>
        /// <returns></returns>
        bool Login(string userName, string userPassword);
        /// <summary>
        /// 接口：更新用户信息
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        bool Update(Model.User model);
    }
}
